<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('项目名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p class="form-control-static">
                {$row.name|htmlentities}
            </p>

        </div>
    </div>
    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('投资方')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p class="form-control-static">
                {$row.investment_name}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('落户街道')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p class="form-control-static">
                {if $row.library_id == 1}{$row.planned_street_names}{/if}
                {if $row.library_id == 2}{$row.settle_street_names}{/if}
            </p>
        </div>
    </div>
    <div class="form-group">
        <label for="c-referrer" class="control-label col-xs-12 col-sm-2">{:__('引荐人')}:</label>
        <div class="col-xs-12 col-sm-8">

            <input id="c-referrer" data-rule="required" class="form-control" name="row[referrer]" type="text" value="{$row.referrer|htmlentities}">

        </div>
    </div>
    <div class="form-group">
        <label for="c-flag" class="control-label col-xs-12 col-sm-2">{:__('初次备案')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="first_registration_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[first_registration_time]" type="text" data-rule="required(#first_registration_images:filled)" value="{:$row.first_registration_time?date('Y-m-d',$row.first_registration_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label for="first_registration_images" class="control-label col-xs-12 col-sm-2">{:__('初次备案附件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="first_registration_images" class="form-control" size="35" name="row[first_registration_images]" type="text" value="{$row.first_registration_images}" data-rule="required(#first_registration_time:filled)" readonly>
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-first_registration_images" class="btn btn-danger plupload" data-input-id="first_registration_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-first_registration_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-first_registration_images"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="c-flag" class="control-label col-xs-12 col-sm-2">{:__('二次备案')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="second_registration_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[second_registration_time]" type="text" data-rule="required(#second_registration_images:filled)" value="{:$row.second_registration_time?date('Y-m-d',$row.second_registration_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label for="second_registration_images" class="control-label col-xs-12 col-sm-2">{:__('二次备案附件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="second_registration_images" class="form-control" size="35" name="row[second_registration_images]" type="text" value="{$row.second_registration_images}" data-rule="required(#second_registration_time:filled)" readonly>
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-second_registration_images" class="btn btn-danger plupload" data-input-id="second_registration_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-second_registration_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-first_registration_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-final_confirm_time" class="control-label col-xs-12 col-sm-2">{:__('最终确认')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="final_confirm_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[final_confirm_time]" type="text" data-rule="required(#final_confirm_images:filled)" value="{:$row.final_confirm_time?date('Y-m-d',$row.final_confirm_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label for="final_confirm_images" class="control-label col-xs-12 col-sm-2">{:__('最终确认附件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="final_confirm_images" class="form-control" size="35" name="row[final_confirm_images]" type="text" value="{$row.final_confirm_images}" data-rule="required(#final_confirm_time:filled)" readonly>
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-final_confirm_images" class="btn btn-danger plupload" data-input-id="final_confirm_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-final_confirm_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-first_registration_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-flag" class="control-label col-xs-12 col-sm-2">{:__('奖励申请')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="reward_application_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[reward_application_time]" type="text" data-rule="required(#reward_application_images:filled)"  value="{:$row.reward_application_time?date('Y-m-d',$row.reward_application_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label for="reward_application_images" class="control-label col-xs-12 col-sm-2">{:__('奖励申请附件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="reward_application_images" class="form-control" size="35" name="row[reward_application_images]" type="text" value="{$row.reward_application_images}" data-rule="required(#reward_application_time:filled)" readonly>
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-reward_application_images" class="btn btn-danger plupload" data-input-id="reward_application_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-reward_application_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-first_registration_images"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
